package com.qf.service.impl;

import com.qf.dao.UserDao;
import com.qf.dao.impl.UserDaoImpl;
import com.qf.pojo.User;
import com.qf.service.UserService;

import java.util.List;

/**
 * @Description: 公用常量
 * @Data: 2022/8/24 17:39
 * @Pacakge: com.qf.service.impl
 * @ClassName: UserServiceImpl
 * @Author: fan
 */
public class UserServiceImpl implements UserService {
    private UserDao userDao = new UserDaoImpl();
    /**
     * 查询所有用户
     * @return
     */
    @Override
    public List<User> findAll() {
        return userDao.findAll();
    }
}
